﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Tools
{
    /// <summary>
    /// 
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public class AutowiredAttribute:Attribute
    {
        /// <summary>
        /// 
        /// </summary>
        public AutowiredAttribute() { }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="token"></param>
        public AutowiredAttribute(string token)
        {
            this.token = token; 
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string GetToken()
        {
            return token;
        }
        private string token;
    }
}
